Skip to content

Conversation

@dillera
Copy link
Contributor

@dillera dillera commented Oct 26, 2025

Trying to build coco fn-pc on darwin, has one small break that was stopping it.

  • Fix macOS stat command incompatibility in same_dir() function

    • Use -f flag for macOS, -c flag for Linux
    • Detects platform and uses appropriate stat syntax
  • Add automatic uppercase conversion for PC_TARGET

    • Allows users to run './build.sh -p coco' instead of requiring uppercase
    • Converts target to uppercase before passing to CMake

- Fix macOS stat command incompatibility in same_dir() function
  - Use -f flag for macOS, -c flag for Linux
  - Detects platform and uses appropriate stat syntax

- Add automatic uppercase conversion for PC_TARGET
  - Allows users to run './build.sh -p coco' instead of requiring uppercase
  - Converts target to uppercase before passing to CMake
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant